Fixed routing and added system wide messages, added message history endpoint