Add test for the destroy route
Make test pass
Add a testing suite for Sessions controller. Add a test for the new session route
Make sessionsController#new test pass
Add test for the happy path of SessionsController#create
Make SessionsController#create happy tests pass
Make test for the unhappy path of SessionsController#create
Make the test for unhappy SessionsController#Create pass
Make test for the SessionsController#destroy route
Make test on SessionsController#destroy pass
Add integration test for login
Make happy login test pass
Add test for the unhappy path of login,and refactor the happy path on the way
Make login tests pass
Change test to make route redirect in all cases in SessionsController
Make test pass, sessionscontroller now redirect with a flash alert
Make User routes redirect or render in all cases
Make tests pass, routes now redirect with flash alerts instead of rendering
Move login tests in their own context
Put the login and logout logic in the Application_controller