Changed to use standard way of generating an alpha numeric string and also randomized the password