dog jumping up
As for the jumping up when he sees you.....
The very second he sees you, go down to his level, so he does not jump up.
Hold him by the collar to keep him down...say sit!
Then pet him, kiss him play with him whatever...tell him good dog!
The principle here is that the dog will associate sitting with praise and fun.
After a while, the dog should sit on command when he sees you (or after you say sit!) in order to get the praise.