be careful, method signature is rather `public function createTemplate($login, User $owner)`