Changes validation to check whether password  is at least 8 chars long