adding functionality to cleanup login history to cover tracks better