Make user menu control more generic by passing the menu to add on control as parameter.