function to add text message object to firebase
parties in firebase saved to parties instead of root
add comments