move login into generated menus