added charityFactory to post to api route to create new document