Handling duplicate users