configs for admin and index