refactoring usermenu portlet