Gives users an error if they enter an incorrect password