Factors affecting on bacterial pathogenecity