Adding user login requirement for manage_document, will add it for other methods as well.