fix voting button when not logged in. refactor challenge partials