if project does not exists, throw 404.