check if user is authenticated before voting or revoking