adding slim to index for REST calls