which gland of the endocrine and the nervous system controls the other glans in the body