fixing reset password ajax