added a header file for the PortalController class + documentation