added rspec testing for users