fixed user error and added rspec and capybara