server: refactored code into _create_new_ebook method
fixup! 8e86ac7
debv