Add tests
Finish sign in