DRY-ing up the Auth helper