Grade and Course display logic implemented for profile page