schema tweaks, authentication tweaks