changes for date time picker and registration form.