Made the rspec tests for the user model and controller.