modify menu and header; add logout function

User can see their user id in menu bar and header of index page