I cleaned up some code and made it uniform. I also fixed addStudent.php.