Added tests for logIn and createUser