Categories!

login.php: Solved capitalization of username problem by storing the
database name in the session (not the user-entered name)
everything else: Users can add categories to courses and specify how
much of the total grade depends on each category. Yeah! Doesn't really
do anything yet.