added rspec tests for users controller