added ability to logout from menu.