Cleaned up TeacherIndex and RegisterTeacher controllers