add controller-class and action-class to html; and move portfolio_invitation in portfolio_index