Implemented password and current election support in database.