Write rspec tests for user controller