Added functionality to submit and edit projects.