added associations and rspec to user model

@rockrgrrl @luminous14 please review and merge if you approve of these changes.