adds tests
Adds sign in sign out functionality