make vote link on posts/index conditional to login