Well, I recommend you scrap logingui and make your own from scratch. I find logingui is written a bit wierd. And if you look at the snippet of code below; there is no such function as "clientSubmitCreate" in your code.
addEventHandler("onClientGUIClick",register,clientSubmitCreate,false)