added model tests for user
changed email controller spec to test authethication