Round 3 Extended 3

changes to handle child type in registerStudent service.