add front-end controller