speeded up digest and hashing immensely by switching to lists rather than sets for id lists
login has no timeout and ui nicer