this assignment should probably be done after the check if the queried user is a student since only students will have assigned jobs