Now with proper sign in and sign out