Add logout and header control