Add sign in and out tests
 Pass early sign in out tests
Finish sign in and refactor tests