Fixed url rncoding, added navigationcontroller