Changed the type of EventVote from boolean to integer
Added user and logoutlink template in every page
Changed the parameters of submitVote: votelist is changed to three separate parameters