Fixed getPageAccessLevelByUser only ever working for the logged in user.
Made the call more efficient (less SQL queries).