add log
logout handling
route handling
update