linked belongs_to and has_many to users and pins