stuff
changed post auth route to index instead of main