add resources to api and moongo db
add resources to api and moongo db