Got Pin CRUD to work throughout in an ajax way