Added a logout function to the session file.
Added logout.php for log out functionality.

Added logout.php for log out functionality which will log out
the user and redirect them to login.php.