Corrected ajax to allow users to sign in (was blocking the redirect)

I have tweaked this in the current ajax (I switched to what I guessed the post would be).  This will 1000% need more work as I am unsure as to whether the post for an answer will work anymore.

I am going to correct this immediately.