added api/assignments to routes