Residence permit and immigration issues