changed url validation in user model