added rspec and first round of model tests for user model