put get in its own function
adds new message to table when it is submitted
initial mongo functionality put in place