Yeah he was a really nasty, nasty person, but you know, God uses flawed people right? What better way to spread the supposed Truth in a infallible way than with a nasty, vulgar person.
Who said Luther was infallible?