fetch function working ! Now working on sending data to the view