added enter key submit functionality