Added index method in project controller