implementing dashboard ajax

Implementing dashboard ajax