About profile API
The profile API is an API that can be used to check if a user is logged in on a membership site. Please call this API on all pages you want to use. This API is required if you are creating a membership site.
Also, if you are logged in, you can use the profile API to get the logged-in user's information.