Logging a user in should be extracted out into a helper method since it's used all over the place.

https://www.relishapp.com/rspec/rspec-core/docs/helper-methods/define-helper-methods-in-a-module