controller admin_index method fixes