buen fix user.id vs teacher.id