add some backend for functionality with votes (adding only backend in one commit and doing the frondend in other is really bad style)