fixing phone validation while registering new users