prepare for sessions
finish sign-in