Sign in and Sign out
Refactored tests