Added a logout button. Added comments

Logout button created and working.