Data retriveing from model added. Routing fixed.