Added validation and code for url to include a propper http protocol