Changed controller for permissions