accessControl for all controllers into class component