adding endpoint for dashboard