Add checking of PIN, new mobile API calls.