Making the dashboard view work