fixed error showing up when two people registered with the same email