portal controller