An East Lothian man, who was reported missing from Prestonpans, has been traced safe and well.