adding resources, goals and user in mongodb