diff --git a/150-DOCUMENTATION/AIA-March17-Report.pptx b/150-DOCUMENTATION/AIA-March17-Report.pptx
new file mode 100644
index 0000000..c0f9ed2
--- /dev/null
+++ b/150-DOCUMENTATION/AIA-March17-Report.pptx
diff --git a/150-DOCUMENTATION/Audit/Jan-March-Pawan/Heatlh Dev.xlsx b/150-DOCUMENTATION/Audit/Jan-March-Pawan/Heatlh Dev.xlsx
new file mode 100644
index 0000000..eb7e6a3
--- /dev/null
+++ b/150-DOCUMENTATION/Audit/Jan-March-Pawan/Heatlh Dev.xlsx
diff --git a/150-DOCUMENTATION/Audit/Sprints/Product Sprint 35-17 May 2017.csv b/150-DOCUMENTATION/Audit/Sprints/Product Sprint 35-17 May 2017.csv
new file mode 100644
index 0000000..d7b3a12
--- /dev/null
+++ b/150-DOCUMENTATION/Audit/Sprints/Product Sprint 35-17 May 2017.csv
@@ -0,0 +1,42 @@
+#,Project,Tracker,Status,Priority,Subject,Assignee,Target version,Start date,Due date,Story Points
+17497,AIA HTML5,System Study,Not Started,Medium,Adobe Flex Code Analysis for Admin and database Sync,Amrita Vishnoi,Product Sprint 35/17 May 2017,04/24/2017,05/17/2017,""
+17495,AIA HTML5,User Story,Not Started,Medium,User Group,Ayush Jain,Product Sprint 35/17 May 2017,05/05/2017,05/09/2017,""
+17494,AIA HTML5,User Story,Not Started,Medium,Unblock User,Ayush Jain,Product Sprint 35/17 May 2017,05/10/2017,05/15/2017,""
+17493,AIA HTML5,User Story,Not Started,Medium,Add User,Ayush Jain,Product Sprint 35/17 May 2017,04/25/2017,04/28/2017,""
+17492,AIA HTML5,User Story,Not Started,Medium,List User,Ayush Jain,Product Sprint 35/17 May 2017,04/26/2017,05/01/2017,""
+17491,AIA HTML5,User Story,Not Started,Medium,Change User Id,Utkarsh Singh,Product Sprint 35/17 May 2017,05/09/2017,05/10/2017,""
+17490,AIA HTML5,User Story,Not Started,Medium,Change Password,Utkarsh Singh,Product Sprint 35/17 May 2017,05/08/2017,05/09/2017,""
+17489,AIA HTML5,User Story,Not Started,Medium,Update Profile,Utkarsh Singh,Product Sprint 35/17 May 2017,05/05/2017,05/05/2017,""
+17488,AIA HTML5,User Story,Not Started,Medium,Setup Test Account,Utkarsh Singh,Product Sprint 35/17 May 2017,05/12/2017,05/16/2017,""
+17487,AIA HTML5,User Story,Not Started,Medium,Search License,Utkarsh Singh,Product Sprint 35/17 May 2017,05/01/2017,05/04/2017,""
+17415,AIA HTML5,User Story,Not Started,Medium,Add new Licence,Utkarsh Singh,Product Sprint 35/17 May 2017,04/21/2017,04/28/2017,""
+17254,AIA HTML5,Bug,Ready for QA,Medium,Login Page > Incorrect pop-up is appearing.,Utkarsh Singh,Product Sprint 35/17 May 2017,04/18/2017,04/18/2017,""
+17182,AIA HTML5,Bug,Ready for QA,Medium,Login Page > Forgot Password Link > Message is missing in the pop-up window when user successfully reset the password.,Utkarsh Singh,Product Sprint 35/17 May 2017,04/13/2017,04/14/2017,""
+17181,AIA HTML5,Bug,Ready for QA,Medium,"Login Page > Forgot Password Link > Submit button > Change the message in pop-up from ""Error in fetching data"" to ""Please enter the password in fields"".",Utkarsh Singh,Product Sprint 35/17 May 2017,04/13/2017,04/18/2017,""
+17180,AIA HTML5,Bug,In Progress,Medium,Login Page > Forgot Password Link > Click on close button redirect to the AIA Login Page.,Mukul .,Product Sprint 35/17 May 2017,04/13/2017,04/20/2017,""
+17129,AIA HTML5,Bug,Needs Clarification,High,"Google Chrome > File > Print Preview > Only dot is appear on print preview page, when first time open the Print Preview.",Mukul .,Product Sprint 35/17 May 2017,04/12/2017,04/20/2017,""
+17092,AIA HTML5,Bug,Ready for QA,Low,IE 11 > Clinical Illustration > Thumbnails are not in queue.,Ayush Jain,Product Sprint 35/17 May 2017,04/12/2017,04/18/2017,""
+17081,AIA HTML5,Bug,In Progress,Medium,"Mozilla Firefox > Clinical Animation > List View > ""No animation found for the selected search criteria!"" is display for some seconds even when selected filter is available.",Ayush Jain,Product Sprint 35/17 May 2017,04/11/2017,04/24/2017,""
+17073,AIA HTML5,Bug,Ready for QA,Medium,"Mozilla Firefox > Clinical Illustration > List View > ""No illustration found for the selected search criteria!"" is display for some seconds even when selected filter is available. ",Ayush Jain,Product Sprint 35/17 May 2017,04/11/2017,04/19/2017,""
+17063,AIA HTML5,Bug,Needs Clarification,Medium,File > Print Preview > Image should display in the center of the page when page is in 500% mode.,Mukul .,Product Sprint 35/17 May 2017,04/27/2017,04/28/2017,""
+16810,AIA HTML5,User Story,Not Started,High,Admin Integration,Amrita Vishnoi,Product Sprint 35/17 May 2017,04/17/2017,04/21/2017,4.00
+16798,AIA HTML5,Bug,In Progress,High,AOD > Click on course redirect to the AIA Landing page.=>Occupy full screen,Amrita Vishnoi,Product Sprint 35/17 May 2017,04/05/2017,04/05/2017,1.00
+16674,AIA HTML5,User Story,In Progress,High,Update Helath Products in AIA and resolve double scroll bar issue,Amrita Vishnoi,Product Sprint 35/17 May 2017,04/03/2017,04/14/2017,""
+16672,AIA HTML5,Bug,Needs Clarification,Critical,3D Anatomy > Authentication error is display when open the 3D module.,Monika Sharma,Product Sprint 35/17 May 2017,04/03/2017,04/26/2017,""
+16510,AIA HTML5,Bug,In Progress,Medium,DA > Body view display towards right when user click on Zoom-in/Zoom-out button.,Mukul .,Product Sprint 35/17 May 2017,04/17/2017,04/17/2017,2.00
+16359,AIA HTML5,Bug,Ready for QA,Medium,Login Page > Disable Login page when user open the Forgot User ID and Forgot Password links.,Mukul .,Product Sprint 35/17 May 2017,03/28/2017,05/01/2017,""
+15864,AIA HTML5,Bug,Ready for QA,Medium,DA > Layer Input Box > Incorrect number is display and body layer are display.,Nikita Kulshreshtha,Product Sprint 35/17 May 2017,04/17/2017,04/17/2017,2.00
+15832,AIA HTML5,Bug,Ready for QA,High,DA > Transparency box disappears in the below mention case.,Nikita Kulshreshtha,Product Sprint 35/17 May 2017,03/15/2017,04/21/2017,1.00
+15817,AIA HTML5,Bug,Needs Clarification,Medium,"AOD>User is able to see the incomplete name ""Understanding Blood Glucose Regulatio "" > AOD Website Issue",Ravi Vishwakarma,Product Sprint 35/17 May 2017,03/15/2017,04/25/2017,""
+15352,AIA HTML5,Bug,QA Failed,Medium,DA > List Manager > List Manager appears blank when user refresh the DA page.,Ayush Jain,Product Sprint 35/17 May 2017,04/03/2017,04/06/2017,3.00
+15302,AIA HTML5,Bug,Needs Clarification,Low,"Menu in Menu bar remain highlight, after close menu bar.",Mukul .,Product Sprint 35/17 May 2017,05/02/2017,05/02/2017,""
+15243,AIA HTML5,User Story,Not Started,Medium,Sync SQL and Mongo Database,Amrita Vishnoi,Product Sprint 35/17 May 2017,04/17/2017,04/24/2017,7.00
+15240,AIA HTML5,User Story,Ready for QA,High,A new URL will be setup for HTML5 version of the site.,Amrita Vishnoi,Product Sprint 35/17 May 2017,04/17/2017,04/17/2017,1.00
+14923,AIA HTML5,User Story,In Progress,High,Data migration from sql to mongo,Nikita Kulshreshtha,Product Sprint 35/17 May 2017,04/05/2017,04/11/2017,8.00
+12115,AIA HTML5,Bug,Ready for QA,High,DA> Inappropriate body cuts when transparency is on,Nikita Kulshreshtha,Product Sprint 35/17 May 2017,03/17/2017,04/06/2017,8.00
+10873,AIA HTML5,User Story,In Progress,Medium,Print Preview,Mukul .,Product Sprint 35/17 May 2017,12/02/2016,04/07/2017,13.00
+10871,AIA HTML5,User Story,Needs Clarification,Medium,Print Active Viewer,Mukul .,Product Sprint 35/17 May 2017,11/24/2016,04/07/2017,3.00
+10207,AIA HTML5,User Story,In Progress,Medium,Export Image,Mukul .,Product Sprint 35/17 May 2017,11/24/2016,11/25/2016,3.00
+6143,AIA HTML5,User Story,In Progress,High,Subscribed modules after authentication of a user,Amrita Vishnoi,Product Sprint 35/17 May 2017,03/07/2017,03/07/2017,3.00
+2926,AIA HTML5,User Story,Reopen,High,Clinical Illustration Module,Ravi Vishwakarma,Product Sprint 35/17 May 2017,05/20/2016,06/24/2016,3.00
+1719,AIA HTML5,User Story,QA Failed,High,User Authentication,Utkarsh Singh,Product Sprint 35/17 May 2017,08/01/2016,03/16/2017,13.00
diff --git a/150-DOCUMENTATION/Audit/Sprints/Product Sprint 35-17 May 2017.pdf b/150-DOCUMENTATION/Audit/Sprints/Product Sprint 35-17 May 2017.pdf
new file mode 100644
index 0000000..b1519ec
--- /dev/null
+++ b/150-DOCUMENTATION/Audit/Sprints/Product Sprint 35-17 May 2017.pdf
diff --git a/400-SOURCECODE/.vs/config/applicationhost.config b/400-SOURCECODE/.vs/config/applicationhost.config
new file mode 100644
index 0000000..95dab4b
--- /dev/null
+++ b/400-SOURCECODE/.vs/config/applicationhost.config
@@ -0,0 +1,1063 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.dll b/400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.dll
index 43e95c0..a500253 100644
--- a/400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.dll
+++ b/400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.dll
diff --git a/400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.pdb b/400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.pdb
index ff0b095..a0a58d6 100644
--- a/400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.pdb
+++ b/400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.pdb
diff --git a/400-SOURCECODE/packages/repositories.config b/400-SOURCECODE/packages/repositories.config
index 8ed17d8..57f2dbb 100644
--- a/400-SOURCECODE/packages/repositories.config
+++ b/400-SOURCECODE/packages/repositories.config
@@ -1,4 +1,6 @@
+
+
\ No newline at end of file
diff --git a/500-DBDump/GetCancelledLicenses.sql b/500-DBDump/GetCancelledLicenses.sql
new file mode 100644
index 0000000..07ae66d
--- /dev/null
+++ b/500-DBDump/GetCancelledLicenses.sql
diff --git a/500-DBDump/GetCustomerSummaryReport.sql b/500-DBDump/GetCustomerSummaryReport.sql
new file mode 100644
index 0000000..78ee495
--- /dev/null
+++ b/500-DBDump/GetCustomerSummaryReport.sql
diff --git a/500-DBDump/GetExpiringLicenses.sql b/500-DBDump/GetExpiringLicenses.sql
new file mode 100644
index 0000000..1bdd00f
--- /dev/null
+++ b/500-DBDump/GetExpiringLicenses.sql
@@ -0,0 +1,148 @@
+USE [AIADatabaseV5]
+GO
+/****** Object: StoredProcedure [dbo].[GetExpiringLicenses] Script Date: 04/25/2017 18:00:21 ******/
+SET ANSI_NULLS ON
+GO
+SET QUOTED_IDENTIFIER ON
+GO
+
+ALTER PROCEDURE [dbo].[GetExpiringLicenses]
+ -- Add the parameters for the stored procedure here
+ @sFromDate varchar(20), @sToDate varchar(20), @iStartPrice numeric(14,2), @iEndPrice numeric(14,2),
+ @iLicenseTypeId int, @iAccountTypeId int, @sZip varchar(20) = '', @iStateId int, @iCountryId int
+AS
+BEGIN
+
+ IF 1=0 BEGIN
+ SET FMTONLY OFF
+ END
+
+ -- SET NOCOUNT ON added to prevent extra result sets from
+ SET NOCOUNT ON;
+ DECLARE @dtFromDate DATETIME
+ DECLARE @dtToDate DATETIME
+ DECLARE @cGetLicenseId CURSOR
+ DECLARE @iLicenseId INT
+ DECLARE @iLicenseSubscriptionDetail INT
+ DECLARE @sAccountNumber VARCHAR(50)
+ DECLARE @sLicenseeName VARCHAR(100)
+ DECLARE @sLicenseType VARCHAR(50)
+ DECLARE @sInstitutionName VARCHAR(100)
+ DECLARE @dtLicenseCreationDate DATETIME
+ DECLARE @dtStartDate DATETIME
+ DECLARE @dtEndDate DATETIME
+ DECLARE @mSubscriptionPrice MONEY
+ DECLARE @sAccountType VARCHAR(50)
+ DECLARE @sEdition VARCHAR(200)
+ DECLARE @iDaysRemaining INT
+ DECLARE @iCardNumber INT
+
+ -- convert the datatype of fromdate & todate parameter to datetime
+ SELECT @dtFromDate = CONVERT(DATETIME,@sFromDate)
+ SELECT @dtToDate = DATEADD(ms,-3,DATEADD(DAY,1,CONVERT(DATETIME,@sToDate)))
+
+ -- create a temporary table to store the desired results of license which are going to be expire on the basis of parameter
+ CREATE TABLE #ExpiringLicenseReport
+ (
+ AccountNumber VARCHAR(50),
+ LicenseeName VARCHAR(100),
+ LicenseType VARCHAR(50),
+ InstitutionName VARCHAR(100),
+ Edition VARCHAR(200),
+ ValidFrom DATETIME,
+ ValidThrough DATETIME,
+ LicenseCreationDate DATETIME,
+ Price MONEY,
+ AccountType VARCHAR(50),
+ DaysRemaining INT,
+ CardNumber INT
+ )
+
+ -- define the forward only, read-only cursor
+ SET @cGetLicenseId = CURSOR FAST_FORWARD
+ FOR
+ SELECT LicenseSubscriptionDetail.LicenseId, MAX(LicenseSubscriptionDetail.Id)
+ FROM LicenseSubscriptionDetail WHERE
+ (TotalAmount >= (CASE WHEN @iStartPrice > 0 THEN @iStartPrice ELSE 0 END))
+ AND (TotalAmount <= (CASE WHEN @iEndPrice = 0 THEN 0 WHEN @iEndPrice > 0 THEN @iEndPrice ELSE 9999999999 END))
+ GROUP BY LicenseSubscriptionDetail.LicenseId
+ HAVING (MAX(SubscriptionValidThrough) BETWEEN @dtFromDate AND @dtToDate)
+
+ -- open & fetch the cursor variables into the local variables
+ OPEN @cGetLicenseId
+ FETCH NEXT FROM @cGetLicenseId INTO @iLicenseId, @iLicenseSubscriptionDetail
+ -- start of while loop
+ WHILE @@FETCH_STATUS = 0
+ BEGIN
+
+ SET @sEdition = ''
+ -- fetch the accountnumber, licenseename, licensetype, startdate, enddate, subscriptionprice, accountype & days remaining to expire for a license
+ SELECT @sAccountNumber = AccountNumber, @sLicenseeName = LicenseeName, @sLicenseType = LicenseType,
+ @sInstitutionName = InstitutionName, @dtLicenseCreationDate = CreationDate,
+ @dtStartDate = SubscriptionValidFrom, @dtEndDate = SubscriptionValidThrough,
+ @mSubscriptionPrice = TotalAmount, @sAccountType = AccountType, @iDaysRemaining = DaysRemaining, @iCardNumber = CardNumber
+ FROM
+ (
+ SELECT AccountNumber, (LicenseeFirstName+' '+LicenseeLastName) as LicenseeName,
+ LicenseType.Title as LicenseType, AccountType.Title as AccountType,
+ License.InstitutionName,License.CreationDate,
+ LicenseSubscriptionDetail.TotalAmount,
+ LicenseSubscriptionDetail.SubscriptionValidFrom, LicenseSubscriptionDetail.SubscriptionValidThrough,
+ DATEDIFF(dd,GETDATE(),LicenseSubscriptionDetail.SubscriptionValidThrough) as DaysRemaining, (CASE WHEN License.CardNumber > 0 THEN License.CardNumber END) as CardNumber
+ FROM License
+ INNER JOIN LicenseType ON License.LicenseTypeId = LicenseType.Id
+ INNER JOIN AccountType ON License.AccountTypeId = AccountType.Id
+ INNER JOIN LicenseSubscriptionDetail ON License.Id = LicenseSubscriptionDetail.LicenseId
+ INNER JOIN State ON License.StateId = State.Id
+ INNER JOIN Country ON License.CountryId = Country.Id
+ WHERE License.IsActive = 1
+ AND License.LicenseTypeId = (CASE WHEN @iLicenseTypeId > 0 THEN @iLicenseTypeId ELSE License.LicenseTypeId END)
+ AND License.AccountTypeId = (CASE WHEN @iAccountTypeId > 0 THEN @iAccountTypeId ELSE License.AccountTypeId END)
+ AND State.Id = (CASE WHEN @iStateId > 0 THEN @iStateId ELSE State.Id END)
+ AND Country.Id = (CASE WHEN @iCountryId > 0 THEN @iCountryId ELSE Country.Id END)
+ AND License.Zip = (CASE WHEN LEN(@sZip)>0 THEN @sZip ELSE License.Zip END)
+ AND LicenseSubscriptionDetail.Id = @iLicenseSubscriptionDetail
+ AND License.LicenseTypeId <> 5
+ ) t1
+ WHERE DaysRemaining>=0
+ -- check whether the above query returns any row
+ IF @@Rowcount > 0
+ BEGIN
+ -- fetch all the editions mapped as a string with a license
+ SELECT @sEdition = Edition.Title + '; ' + @sEdition
+ FROM LicenseToEdition INNER JOIN Edition
+ ON LicenseToEdition.EditionId = Edition.Id
+ WHERE LicenseToEdition.LicenseId = @iLicenseId
+ -- remove the trailing comma-separator from the edition-string
+ --AMI SET @sEdition = SUBSTRING(@sEdition,1,LEN(@sEdition)-1);
+ IF LEN(@sEdition)> 1
+ -- remove the trailing comma-separator from the edition-string
+ SET @sEdition = SUBSTRING(@sEdition,1,LEN(@sEdition)-1)
+ ELSE
+ SET @sEdition = @sEdition
+
+ -- insert into the temporary table
+ INSERT INTO #ExpiringLicenseReport
+ (AccountNumber, LicenseeName, LicenseType,InstitutionName, Edition, ValidFrom, ValidThrough,LicenseCreationDate, Price, AccountType, DaysRemaining,CardNumber)
+ VALUES(@sAccountNumber,@sLicenseeName,@sLicenseType,@sInstitutionName,@sEdition,@dtStartDate,@dtEndDate,@dtLicenseCreationDate, @mSubscriptionPrice,@sAccountType,@iDaysRemaining,@iCardNumber)
+ END
+ -- fetch the next record from cursor
+ FETCH NEXT FROM @cGetLicenseId INTO @iLicenseId,@iLicenseSubscriptionDetail
+ -- end of while loop
+ END
+ -- close the cursor to free up resources
+ CLOSE @cGetLicenseId
+ DEALLOCATE @cGetLicenseId
+
+ -- Selecting the desired result from temporary table
+ SELECT AccountNumber,LicenseeName,LicenseType,InstitutionName,Edition,
+ CONVERT(VARCHAR,ValidFrom,101) as StartDate,CONVERT(VARCHAR,ValidThrough,101) as EndDate,
+ CONVERT(VARCHAR,LicenseCreationDate,101) as LicenseCreationDate,
+ CONVERT(NUMERIC(14,2),Price) as SubscriptionPrice,AccountType,DaysRemaining, CardNumber
+ FROM #ExpiringLicenseReport ORDER BY AccountNumber
+
+
+ -- Dropping the temporary table
+ DROP TABLE #ExpiringLicenseReport
+END
+
diff --git a/500-DBDump/GetExpiringLicensesAamir.sql b/500-DBDump/GetExpiringLicensesAamir.sql
new file mode 100644
index 0000000..78ee495
--- /dev/null
+++ b/500-DBDump/GetExpiringLicensesAamir.sql
diff --git a/500-DBDump/GetSubscribedLicenses.sql b/500-DBDump/GetSubscribedLicenses.sql
new file mode 100644
index 0000000..f50419f
--- /dev/null
+++ b/500-DBDump/GetSubscribedLicenses.sql
diff --git a/500-DBDump/ReportsProcs.txt b/500-DBDump/ReportsProcs.txt
new file mode 100644
index 0000000..1dbd103
--- /dev/null
+++ b/500-DBDump/ReportsProcs.txt
@@ -0,0 +1,9 @@
+GetUsageReport
+GetCustomerSummary
+Expiring Subscription Report: GetExpiringLicenses
+New Subscription Report: GetSubscribedLicenses
+Subscription cancellation report: GetCancelledLicenses
+GetNetAdSummaryReport
+GetSiteLicenseUsageReport
+GetDiscountReport
+GetAllModuleStatus
\ No newline at end of file
diff --git a/500-DBDump/loginDetailForKhalid.sql b/500-DBDump/loginDetailForKhalid.sql
new file mode 100644
index 0000000..d91b1ad
--- /dev/null
+++ b/500-DBDump/loginDetailForKhalid.sql
@@ -0,0 +1,13 @@
+
+declare @FromDate datetime;
+set @FromDate= dateadd(month,-3,getdate());
+
+declare @toDate datetime;
+set @toDate = dateadd(month,8,getdate());
+
+select * from AIAUser where FirstName like'%Khalid%'
+
+ SELECT LoginDetail.UserId, COUNT(1) as TotalLogins, MAX(LoginDetail.LoginTime)
+ FROM LoginDetail WHERE
+ (LoginTime) BETWEEN @FromDate AND @toDate AND UserId = 32462
+ GROUP BY LoginDetail.UserId
\ No newline at end of file
diff --git a/500-DBDump/restoreDatabase.txt b/500-DBDump/restoreDatabase.txt
new file mode 100644
index 0000000..f151ae7
--- /dev/null
+++ b/500-DBDump/restoreDatabase.txt
@@ -0,0 +1,5 @@
+EXECUTE master..sqlbackup '-SQL "RESTORE DATABASE [AIADatabaseV5]
+FROM DISK = ''D:\Aamir\PRODSQLVM_RedGate_AIADatabaseV5_Full_20170408_22252.dmp'' WITH PASSWORD = ''N0tBl4nk'', RECOVERY,
+MOVE ''AIADatabaseV5'' TO ''C:\Program Files (x86)\Microsoft SQL Server\MSSQL12.SQLEXPRESS\MSSQL\Data\AIADatabaseV5_data.mdf'',
+MOVE ''AIADatabaseV5_log'' TO ''C:\Program Files (x86)\Microsoft SQL Server\MSSQL12.SQLEXPRESS\MSSQL\Data\AIADatabaseV5_log.LDF'',
+REPLACE, ORPHAN_CHECK"'
\ No newline at end of file
diff --git a/500-DBDump/unlockAIAUser.txt b/500-DBDump/unlockAIAUser.txt
new file mode 100644
index 0000000..4adb145
--- /dev/null
+++ b/500-DBDump/unlockAIAUser.txt
@@ -0,0 +1,9 @@
+select * from AIAUser
+
+select * from dbo.IncorrectLoginAttempts where UserId =1
+
+
+Begin tran
+Update IncorrectLoginAttempts set CntIncorrectLogins =0 where UserId =1
+
+Commit
\ No newline at end of file