Refactor inbox

The inbox now includes both postgraduate and undergraduate programmes in order of when they were last updated.