This question has already been answered:
The user makes an application and is registered at the same time, but he must make a confirmation by mail, the application is added to the database as a pending confirmation. if the user did not confirm then the application should be automatically deleted every other day. (the site I write in PHP without frameworks)