add capybara testing for user login