Controlled charge and spin current rectifications in a spin polarized device