adding pretty urls to subjects index page