stuck on receiving a 400 response after attempting to submit ajax post request