fix template menus of logged in user