modified to test AddElections with allowed users (private elections)