Created dashboard page and updated other codes too