Self-consistent studies of the dipole response in neutron rich nuclei using realistic potentials