When a user clicks sign in button; retain the state whatever user was doing and then when the user comes back to the app, restore the application state.
For example, annotations can be saved locally (localStorage maybe), for a user who has not logged in. After the user has logged in, the user can be asked if he wants to publish those annotations.
When a user clicks sign in button; retain the state whatever user was doing and then when the user comes back to the app, restore the application state.
For example, annotations can be saved locally (localStorage maybe), for a user who has not logged in. After the user has logged in, the user can be asked if he wants to publish those annotations.