proper flow in login screen
handling session updates