refactor ads index controller & improve index page