recheck now stored as string
added generatePassword method