Centralized the access control