added associations and rspec to user model