Changed Password method to have a minimum and maximum length.