You have the entire page wrapped in the code:
if ("".($userList->getColumnVal("userLevel")) ."" == "10") { // WebAssist Show If
That checks the first row of the results and would only show if it equals 10, otherwise the entire page won't show.
I'm not sure what you were going for with that line, but I think you should remove lines 59-61 and 168-170