What is a typical workflow for logging in/out?

I am able to login to my game through a RESTful web service. However, I’m a bit confused as to the workflow, eg what happens with PlayerState, GameModeBase, etc.

Can anybody shed some light on the process of what should happen once a user has logged in?