Thank you for all the answers. I have never signed an agreement with the buyer agent and was never told of these fee's until today 15 days from closing thought the 4% commission would cover everything on that side.
He never found one house I was interested in and when I told him my price range when we first started he was way out in left field. I found all the houses and looked at them and planned a showing before I would call him.
From my loan broker to my agent I knew more about buying a house and I have never than they did.
SUGGESTION: Speak with their broker at times that assists.
More and more brokerages are charging administrative fees to their buyers. However, this should not be coming as a surprise to you at the last minute--it should have been discussed and written into the Buyer Agency contract that you signed with the agent. Oftentimes, the administrative fee can be waived by the agent (or with the broker's approval). If you did not agree to this fee in writing (and even if you did), I would ask to have this fee waived. You have nothing to lose in asking.
If your agent is with a brokerage as you indicate, you can always call and talk to their broker /office manager as it doesn't ring "fair" to me to try to charge you additional fees now unless you did sign a contract to do so.
I'm glad you found a new loan, it sounds horrible what your "friend" tried to do. In fact, that may be a whole other story here...
Good luck to you.