Ajax registation done