The ridges and or white spots on nails is a sign of a lack of zinc or the wrong type of zinc. Same with hair thinning. It may be just one of many deficiencies.
Be carefull with zinc as it can be toxic in large amounts.
Need to have some copper with the zinc for it to work.