Merge "getUserIdLPr should take application id as input" into pi-dev