Prevents user from voting if not logged in