How hormones can affect weight loss