Adds 'create' action to api