added basic chat input functionality to the client