adding authcode pattern and inputmode for ios keypad