sample template logic for permission checks
post request with wget example
perms logic example; wget with post example; debuging ajax problems with chrom in registration