change user's passwd function complete