registration with date picker