sqltest in controller
Merge pull request #8 from zelzel2315/sqltest3

sqltest in controller
Merge pull request #9 from zelzel2315/savedata

upon save index controller redirects to the right place