Fixed undefined $_GET variable bug in gentext & added user-data functionality