finished sign out tests and logic