include util script on login page
minor fixes