Added some additional code around the users.xqy page - still not complete.