add logout and title to header