drafted the API for a Portal integration module. Implemented a registration step.