adds a message to the routes file