Fixed isAdmin for non logged-in users