basic implimentation of dashboard view