Use isAuthorized() instead of beforeFilter() to check if an user can access to the panel admin