Get saving elections in to database working.