simple example of how to use it
base template
login template
send function disabled just for testing keygen and other parts