Changed the way notifications are sent via routes

Notifications are now sent using the ‘sidebar’ data object. This sends
user data to the client and notifications are rendered using the
handlebars template.