track db image attach to pins + add pin params to pins controller