Calvin m18

should be no redirect loop, modals should work, and users get redirected to root instead of blank login, hopefully.