Add randomPassword Function