This sort of functionality should not be addressed at the level of the theme, which should preferably deal only with presentation.
Having said that, the OP should take a look at:
Mentees Block -- https://docs.moodle.org/35/en/Mentees_block
Parent role -- https://docs.moodle.org/35/en/Parent_role