functions, many changes
fixed getting password from command line
fixed password mismatch when making new account