add date restrictions and remove valid_to attribute on document + add super user checker