can detect invaild usernames and email