modified the security procedure for deleting, resetting codes and votes