added portals controller