more framework for login and logout, plus icons in menu, and new layout