Added methods in project controller and fixed views