added error message when trying to vote if not logged in