Prescribed drug linked to bone loss