Added check to prevent duplicate usernames.