modified chat on student controller