not needed no more!
bootstrap allowed pages as array
redundant code!
added email function
sanitize deleted