updated logging in and out capybara test