Feature/140 pv api for external apps

All api are worked in PV, using base auth.