updated app.py with new routes for the caseworker and team leader dashboards