I hate how people think they can do whatever they want.
I hate it, how people think they can do whatever they want.
I hate it how people they think they can do whatever they want.
Which of the above sentences are grammatically correct? What's the difference between the sentences mentioned above?