Add Sign in and out and the tests for them