check if network available. add first page when no url.