Electrostatic coherent structures: The role of the ions dynamics