added rspec, added user model tests, added travis ci .yml file, added guard