Controller for access control.