Temporarily set redirect to "/" and fix ajax

I don't know how to make the default redirect work otherwise,