allows changing of passwords, takes in value of number of points displayed on the screen