added capybara tests for register and login