add configure Date logic
fix signin