more functions added

save url to database
validate url