move user password encrypt to private method :dvd: