Add security, and activate message handlers for routes