adding conditional password for local machine