There are some very knowledgable members here that will be able to provide great advice but to me it seems that you need to focus on building her self esteem and your bond and only then worry about her following commands etc. Training can be a great form of bonding but she seems too stressed during training hence the peeing - how about long walks with her and lots of playtime - these would help establish a bond and trust. Positive reinforcement (if she did something good give her treat/toys/petting to show her that she is a good girl and you are proud.
I am curious what other members think....
Monkey and Amy (cats)
“Dogs believe they are human. Cats believe they are God.”
"The average dog is a nicer person than the average person."