finish sign up and sign out