Rewrite unauthorized method