add session control, log in, log out and links