Added post function to send entered messages, not tested