Added session log out functionality.