db changes corrected, the uid for ppl formated and handled