changes to login monitor scripts