fixed some bugs and added a function where the user can see the candidates the voter voted