add testing setup with rspec, add unit tests for user