added intial code for dashboard main