Post and read messages from frontend