Working code for grades.php
Merge branch 'vishnu'