Added main index to give admin more power