Added check url functionality