sign in and out fix