learn add menu backend and show menu at front end