add logging in project detail view