How to control actions of customer portal