Removed the sql query used to get the last 7 days points.Was a bit confused whether session object should be made domain level -attempted to do so ,so that BirdSquareSession should nt know which class it is dealing with,but it gt real messy.So for now left it as it is