Added log in functionality

Added a sessions controller with a method for displaying a form and a method for handling the authentication, updated application layout to display flash messages and updated the routes file for the new controller.