change in rspec of login and logout