Added trigger which attach existing entries to user