How can I limit the registration to a certain date?