added link model and relationship with user