updated pins controller and pins view