set dynamic menu on authorize based