adding sign-in and sign-out tests and functionality
Finish sign in