routes to send message and get all messages