added logging in, password check, begin directory operations: cwd, pwd