When on UG, only show UG links and likewise for PG
Merge pull request #560 from unikent/refactor/restrict_menu_to_ug_pg

When on UG, only show UG links and likewise for PG