completely converted in postgresql and handled deleted entry while someone entring or viewing vote.