fix login and menu