added tests for user authentication and unique email. passed tests. done!