Dysfunctioning thyroid as an underlying cause of osteoporosis