Added the possibility to vote and wired the views