I’m not an expert but I think maybe he is calling for attention.
I babysat a dog with this problem once and we trained her not to bite. One thing you can try is to put him on a leash and tie it to a tree. You need to put you hand out and let him bite you. If he does, then you go somewhere he can’t see you. Return to him after a minute or until he starts whining and keep putting ur hand in front of him until he doesn’t bite you anymore. And when he bites you, yelp like a dog really loudly like you are in pain.
And he might be more submissive around your boyfriend because he sees him as dominant. I don’t really have a solution for the peeing issue but I hope this helps. I forgot to add that you should try tying him somewhere out in the open and that this should be a place he isn’t familiar with, like out in the driveway.