Integrated dashboard code into main page; not working. Marc will work on debugging this portion.