created will now send the appropriate status code for created