Adding the Sessions controller.

$ rails generate controller Sessions --no-test-framework
Adding integration test for authentication machinery. 

$ rails generate integration_test authentication_pages
Routes for Sessions. Controllers, views and tests for Signin Page.
Adding tests for Signin failure.
Adding tests for signin sucess.
Adding form in the Signin page and configuring the create method in controller.
Updating the flash message to only last for one signin failure.
The completed Sessions controller create action (not yet working). 'sign_in' function needs to be created.
Including SessionsHelper in the Application controller. Helpers are automatically included in Rails 4.0
Putting the signin with valid information tests in the correct block.
Adding create_remember_token to the User model and adding corresponding tests.
Adding migration to include the Remember Token and migrating database.

$ rails generate migration add_remember_token_to_users
$ rake db:migrate
Adding sign_in, signed_in? functions to sessions_helper
Adding bootstrap to the JS asset pipeline
Updating the header template to include paths for signed in users.
Making user signed in after sign up is succcessful.
Signing out the User. Tests, destroying sessions and adding sign_out method in the helper module.
Adding cucumber-rails and database cleaner to the Gemfile.
Set up application to use cucumber.

$ rails generate cucumber:install
Writing Cucumber tests for the Signing in feature