fixed sign in and signout