Spin polarized transport in magnetic layered structures door