1. add autocomplete when search appID
2. login success redirect to referrer