Preservation of hormonal function by identifying pituitary gland at endoscopic surgery