Fix presence portlet to work