some cleanup, added a send button that does nothing yet, allow insert and update to collections