Added the method ratePassword