determine whether phonenum is valid and add try catch in signup