wired up login/logout logic to menu item