Fixed controller action, added basic voting functionalities