added the login/logout feature to the menu