rspec tests for user login and out