improve register portlet