I have delete my old code in indexCtroller