empirecms custom userfun