added relationships back to users and materials