Refactored overall program structure.
Added functionality for default value if user not exists on iterable. Also changed some escape function for wp validatoin.
Added functionality for default value if user not exists on iterable. Also changed some escape function for wp validatoin.