The first pic is Driver cab, having a MM (driver of EMU is called Motorman). Second pic is guard cab, having a guard (see the blinking tail lamp,), the other person is off-duty railway employee. Usually many railway employees (ranging from 3 to 5 during peak hours) unofficially board the guard cab to avoid the crowd during going for duty/returning home.