added validation for url