moved num_tasks_for_user functionality to routing.py