New password generator method