What problems did employees of the railroad companies face?

They faced lower salary (not enough for their rent), pollution, freedom to drink alcohol or loiter on their front steps.