add event to userPanel.tpl