Coping with Informality and illegality in human settlements in developing cities