make sure a username is present in all cases