Change vote button class depending on whether or not user is logged in and if user has already voted. Also fix bug where tasks count wasn't showing up correctly.