updated Gatekeeper accept logic and constructor