can now add messages to the database from a textbox on the page with realtime updating