add handler to add new resources