set up of sign in and sign out