add controller and change jsp file for IOS