enable set user context before rendering