TYPO
Rewriting auth implementation