Added basic url validation