pins now render from database