Handle user inbox messages

Similar to #3

Also includes unit tests to check for correct Socket IO routing.