Multiple records with same details are being created for a web form

i made a web form and i am able to create multiple records with same details. this shouldn’t happen and also when a record of the web form has been created then a user should be created in the User doctype how can i do this ?