Update message input functionality. Create directive to allow enter key to submit