Joseph smith is nothing but a fake, a liar, a schemer and womanizer. He claimed he could see futuristic stuff by wearing a special set of glasses or sticking his head into this one hat.
No wonder him and his brother were murdered. They were con artists with rich people following them. They say to never take away or add to the bible and the mormons did just that with the book of mormon, the doctor and covenants and the pearl of great price. Every single one of those books contradicts their teachings.
And it is true that they did not allow black people into the church for the longest time.