added schemas to all collections
removed autopublish and insecure
added email functionality