Added a basic check for whether a user has voted already or not in the template.