Code optimisation: index USERNAME column in USERS table to speed up building of My Moodle and left hand nav.