implemented the subjects view show  and index page.