Added more flexible auth
typo