Added cookie login script to every page