make resource and project ids consistent
hook events into projects, resources