added validations and format prompt to phone input