updated url validation so that https wororks in addition to http