1. Added valid_basic_info_availability function
2. Fixed the basic information validity structure + variable assigning stage
3. Corrected the visa code and date assignment to the variables
4. added several printing functions for debugging
5. removed unnecessary boolean variables