Enter function

Added the so the user can press "Enter Key" to send the message