Some Student Loans and financial aid can be used to pay for student housing but you would have to check with the people who you got your financial aid through to see if your financial aid is allowed to be used to pay for housing.
If the financial aid you have says it cannot be used for student housing then you can usually get it adjusted where you can pay for housing with the financial aid.
You'll just need to go see them again about the financial aid and discuss it with them.