login script in default layout