add route to create document when not logged in