add the index and show page for projects and configure the proper routes for posts and projects