Finish sign in
Appropriately handles sign in, session management and sign out.