Add security for accessing pages