moving all dashboard queries into controller
moving blog url to controller