extract auth.go and some errs