database created
create user and election
create candidate
all write-to-db functions complete