Check for duplicate user in create_user