added error checking server side to ensure users vote in all categories