Included jquery and done the register request