refactoring and sign out testing