now checks for duplicate usernames