store entry in db when user links account