Refactoring - Added comments in teacher registration