Created logout module
Added get_logged_in_user to User class

Added a static function to the User class to return the user id from
the cookie or session or false if no user is logged in
Added comments to login_processor.php

Added some comments to login_processor.php of the login module to
explain what is going on in each step
Changed set_cookie in Functions class

The calculation of cookie expiry time was wrong it needed the current
time to work from as well as the length.
Changed get_logged_in_user function in User class
Changed login_processor.js

Changed login_processor.js to reload to the profile page upon
successful logging in
Added comments to logout.php
Created profile_page.html template
Created profile_editor.js file
Changed the profile module

Changed the profile module to show a logged in user's information,
still have to implement showing their address and editing their profile