added admin and index