Auth check added