creates method to change default password
logging