changed error in auth