add timestamp helper and redirect