added many additional features including redirect, escaping, validation & more :)