changed password file structure