Auth rewrite completed