updated send messages, set message type to chat, because (private) cant be logged