Rewrite auth to use auth bot