Added client-side presentation logic for dashboard page.