Modified controllers according to persistence. we need to get the id
card to controller works.