linked login script to every page