added basic input for chat