modified auth