added more functionality to url text field