added message sending and displaying ui