Complete 8.1.1 --> Add Sessions Controller, edit routes file & default new.html.erb view for /sessions
Complete 8.1.2n --> Finish Signin tests (both valid & invalid sign ins)
Complete 8.1.3 & 8.1.4 --> build HTML for sessions#new (/signin)
Complete 8.1.5 --> Handle invalid sign-in and edit flash to flash.now, including tests
Just beneath listing 8.15 : complete migration of adding remember_token to db. User specs passing
create method in user model for creating remember_token for user's cookie, run this method before_save on the user object and pass test. Up to 8.2.2
complete section 8.2.3, filling in SessionsHelper
complete sessions helper, and sign_in methods. User now persists when browsing through website, and on browser close/open
complete section 8.2.5 , tests for new layout on signup
Complete sign out machinery, and redirect user to home page, including test for presence of 'Sign in' Link. Complete section 8.2
Fix header to redirect to signin_path, not a static url