Added logout_example.php file.
Implimented logout.
Added comments.