added tab to group;
added dashboard to tab;
moved dashboard function to seperate file (so it could be read by more
than template);
dashbaord funciton file