added proper message display functionality for both students and teachers as well as a few minor cosmetic changes
delete this file