Added user authentication and password digest. Created rspec integration tests.