server side for dashboard