use set_password method to set password