added some routes for messages in the server