I've started reading about TRP extensively but still I'm having troubles thwarting ego attacks, I feel extremely furious and mad whenever I feel I'm not respected properly and it's an obvious red flag about my self esteem and how I feel about myself and to be able to be a proper man I need to feel confident instead of furious. Here is the latest example of how things happens; I'm living in dorm of a college and we had time to check out till 10 June, I made my check out at 9 June around 22.00 and went to shuttles and realized shuttle schedule was changed for summer. I went back with my stuff and as i was entering common hall to spend the night I was stopped by security. I told them what happened and I am planning to pass the night in the hall, he said there is nothing he can do about it and I had to see the dorm guy who made my check out procedures whatever it's called in English. When I went to him, motherfucker told me why would security let me in as I was an insect, I told him because I wanted to talk to him in person and he basically shooed me away telling he has his own bosses to answer to. I tried to calmly explain him I just made the check out and I already have one day for the deadline, sob just showed me the door and told me I had to leave. Something snapped in my mind, that meant either I had to pay 30 dollars for a taxi which is huge for my country or walk to uni itself with all my stuff which is 20min walk. I just leaned at him and told him he is just the small fish in a fish tank and he will die as a pathetic underling kissing his boss' ass. Thinking about it, losing control wasn't the right thing to do, I had nothing I could do to stay in as motherfucker was in charge, I just put my next semestre application in jeopardy talking shit to him and I had to carry all my shit to university and spend the night in a class like a bitch. What can I do to improve my behavior in such situations?

Sorry about grammar and other mistakes, English isn't my first language and I'm on the phone.