@Amanda982, we've all had these types of guests. Unfortunately, your first mistake was to allow him to check in early - for most experienced hosts, unless there is a very good reason for it, asking for special favours is almost always a red flag. So glad to hear you held your ground on giving him the door code.
Second, please please PLEASE review him honestly. Hosts that don't review guests like this just enable their bad behaviour and allow other hosts to accept them blind. As I've said many times before on this forum, we hosts are all we have to support each other because Airbnb most certainly doesn't.
I would wait until the 11th hour to review (in the hopes that he won't review you) and then say something like, 'Unfortunately, I cannot recommend X as a guest. Before his arrival, he pressured me for the door code and an early check in. He did not seem to be aware that he would be sharing a home and seemed unhappy about this and the fact that I have dogs. He consistently sent me demanding messages from his room (which he never left) and failed to follow instructions regarding security or to clean up after himself. This guest may be better suited to a hotel or self-contained accommodation, but is not suited to staying in someone's home'.
Obviously, depending on how he leaves the space, you might have more to add to this. And obviously mark him down in all categories and click on 'no' for 'would you recommend this guest?'
Other hosts also might have some great suggestions - it always useful asking for advice here on what to write for negative reviews.