Fix security bug
Delete test with auth
Fix security problems and tests
Finish adjusts