refactored sign in and sign out specs