api authentication
covnert to portable library
enable nuget