integrated front end registration with php