Understanding Single Page Applications and Multi Page Applications