Updated auth php (Scribe)