adds controller for mobile app rendering