adding generating random password function