completed registration form with ajax