Improve Message, MathAssignment, Subsection and ApplicationUser Models

Improve Message, MathAssignment, Subsection and ApplicationUser Models