refactor IndexController
Facebook insertion and fix args bug on routing