fixed sign in/sign out