get rid of unneccesary instance variables for projecs controller
add ajax to updating a project
attept to fix error message not showing