Checking whether the user is logged in in a proper way.
restrict access to uncached access service