sets up dashboard page