Data loading API permission and dataset management

Check if Dataset.by_name returns None and only check for update permissions if dataset was not created

Fixes #727