began to link data from controller with views (just fixed data, fetch function not linked yet)