modified application_controller
create index