some work on the chart ws in backend
ajax stuff for charts and stuff.. WIP