added in url check to front end'