added create metadata API
changed GET metadata security check
fix resource size
modified GET metadata security check
added thumbnail functionality
test commit
removed test res
merged branch create_metadata_api