updated for BHN

new GUI
logout, cookies, and new template.
update
BHN

add logging

add flash ap