changes for getting school code from User Bean + some code fix.