adjust tag function and relationship with user