added route to get subjects and changed users/history route to use smu_id