added URI class
added xss filtering