check is admin logged