Added login-cookie check to each page