API for custom user claims