load profile box from a template using API