Towards adding a portals backend