added string user validation functions