moved def projects to application_controller only