Checking for duplicate user when creating new user.