use router instead of header event listeners
add login to appView and call from router instead of loading in router
add avatar and move logout, settings
add settings