I am also trying to do the same thing but if my user has signed up already and then tries to log in using another device or after clearing the application storage I cannot get the PIN how can I tackle that situation .