Connecting data to pages, connecting icons to side menu