added rand password gen