Validate format of url, display error messages. #22