refactored messages_controller.rb and pushed responsibilities into methods in student.rb, responsibilities still need to be moved to message.rb
Merge branch 'unit_tests_av'