NOTES PAYABLE (Details Textual) - USD ($) | Oct. 09, 2015 | Aug. 18, 2016 | May 31, 2016 | Apr. 30, 2016 | Oct. 24, 2011 | Nov. 30, 2015 | Jun. 30, 2016 | Jun. 30, 2015 | Jun. 30, 2016 | Jun. 30, 2015 | Dec. 31, 2015 | Apr. 18, 2016 | Nov. 09, 2015 | Dec. 31, 2012 |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Interest Payable, Current | | | $ 1,312,000 | | | | | | | | | | | |
Debt Instrument, Face Amount | $ 2,500,000 | | | | | | | | | | | | $ 2,500,000 | |
Notes and Loans Payable, Current, Total | | | | | | | $ 24,000 | | $ 24,000 | | $ 24,000 | | | |
Long-term Debt, Total | | | | | | | $ 11,800 | | $ 11,800 | | 1,923,499 | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ 0.10 | | $ 0.25 | $ 0.001 | | $ 0.10 | | | | | | | | |
Share Price | | | | | | | $ 0.161 | | $ 0.161 | | | | | |
Fair Value Assumptions, Risk Free Interest Rate | | | | | | | | | 1.01% | | | | | |
Proceeds from Notes Payable | | | | | | | | | | | 2,500,000 | | | |
Derivative Liability, Fair Value, Gross Liability | | | | | | | | | | | 627,293 | | | |
Amortization of Debt Discount (Premium) | | | | | | | $ 554,160 | | $ 600,301 | $ 0 | | | | |
Stock Issued During Period, Shares, New Issues | | | 11,714,285 | | | | | | | | | | | |
Debt Conversion, Converted Instrument, Amount | | | | | | | | | $ 1,078,123 | 0 | | | | |
Debt Conversion, Description | | | | | | | | | In connection with the transaction, the Company also entered into amendments to certain agreements. On April 18, 2016, the Company entered into a First Amendment to Note and Warrant Purchase Agreement (the “Purchase Agreement Amendment”) and an Omnibus Amendment to Secured Promissory Notes (the “Note Amendment”), which collectively amend that certain Note and Warrant Purchase Agreement dated as of October 9, 2015 (the “Original Agreement”) and the convertible promissory notes previously issued thereunder to, among other things (i) remove the right of Anthion Partners II, LLC (together with its affiliates, “Anthion”) to designate a member of the Board of Directors of the Company; (ii) amend the convertible promissory notes issued thereunder to provide that if a change of control of the Company occurs prior to the maturity date or an equity financing (as defined therein), the convertible promissory note shall be repaid in an amount equal to the product of (a) 1.4 and (b) the outstanding principal amount and all accrued and unpaid interest thereunder; (iii) reduce the conversion threshold in the definition of “qualified financing” under the convertible promissory notes from $2,000,000 to $1,000,000; (iv) remove the security interest feature from the form of convertible promissory note that may be issued in the future under the Original Agreement, as amended, and (v) provide for optional conversion into warrants containing “blocker” provisions (“Special Warrants”) instead of shares upon an equity financing. The Company also made certain amendments to outstanding warrants to add similar “blocker” provisions. | | | | | |
Warrants and Rights Outstanding | | | | | | | 3,205,959 | | $ 3,205,959 | | | | | |
Gain (Loss) on Extinguishment of Debt | | | | | | | $ (1,664,281) | $ 0 | $ (1,664,281) | $ 0 | | | | |
Fair Value Assumptions, Weighted Average Volatility Rate | | | | | | | | | 172.95% | | | | | |
Maximum [Member] | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | | | | | | | $ 0.179 | | $ 0.179 | | | | | |
Share Price | | | $ 0.195 | | | $ 0.058 | | | | | | | | |
Fair Value Assumptions, Risk Free Interest Rate | | | 1.35% | | | 1.75% | | | | | | | | |
Fair Value Assumptions, Weighted Average Volatility Rate | | | | | | | 178.00% | | | | | | | |
Minimum [Member] | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | | | | | | | $ 0.038 | | 0.038 | | | | | |
Share Price | | | $ 0.169 | | | $ 0.031 | | | | | | | | |
Fair Value Assumptions, Risk Free Interest Rate | | | 1.22% | | | 1.14% | | | | | | | | |
Fair Value Assumptions, Weighted Average Volatility Rate | | | 169.00% | | | | | | | | | | | |
Black-scholes option pricing model [Member] | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Share Price | | | | | | | 0.175 | | $ 0.175 | | | | | |
Fair Value Assumptions, Expected Term | | | | | | | | | 5 years | | | | | |
Fair Value Assumptions, Risk Free Interest Rate | | | | | | | | | 1.24% | | | | | |
Fair Value Assumptions, Weighted Average Volatility Rate | | | | | | 102.00% | | | 178.00% | | | | | |
Amendments to Existing Agreements [Member] | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Interest Payable, Current | | | | | | | | | | | | $ 74,658 | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | | | | | | | | | | | | $ 0.001 | | |
Stock Issued During Period, Shares, New Issues | | 12,834,800 | | | | | | | | | | | | |
Warrants Issued During Period, Shares | | 18,353,310 | | | | | | | | | | | | |
Debt Conversion, Converted Instrument, Amount | | $ 2,500,000 | | | | | | | | | | | | |
Note and Warrant Purchase Agreement [Member] | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt Instrument, Face Amount | | | | | | | | | | | | | $ 2,500,000 | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights | 37,500,000 | | | | | | | | | | | | | |
Note and Warrant Purchase Agreement [Member] | Share-based Compensation Award, Tranche One [Member] | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Rights, Percentage | 10.00% | | | | | | | | | | | | | |
Convertible Notes Payable [Member] | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt Conversion, Original Debt, Amount | | | | | | | | | $ 1,025,000 | | | | | |
Debt Instrument, Convertible, Conversion Price | | | | | | | $ 0.84 | | $ 0.84 | | | | | |
Debt Instrument, Convertible, If-converted Value in Excess of Principal | | | | $ 1,541,678 | | | | | $ 1,541,678 | | | | | |
Loans Payable | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Long-term Debt, Gross | | | | | | | | | | | | | | $ 74,900 |
Debt Instrument, Interest Rate, Stated Percentage | | | | | | | | | | | | | | 25.00% |
Interest Payable, Current | | | | | | | | | | | | | | $ 74,900 |
Maryland TEDCO Note | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt Instrument, Periodic Payment, Total | | | | | $ 2,000 | | | | | | | | | |
Long-term Debt, Gross | | | | | | | $ 35,800 | | 35,800 | | 47,800 | | | |
Debt Instrument, Face Amount | | | | | $ 149,800 | | | | | | | | | |
Notes and Loans Payable, Current, Total | | | | | | | 24,000 | | 24,000 | | 24,000 | | | |
Long-term Debt, Total | | | | | | | $ 11,800 | | 11,800 | | $ 23,800 | | | |
Repayments of Long-term Debt, Total | | | | | | | | | $ 12,000 | | | | | |
Notes | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Debt Instrument, Face Amount | $ 3,750,000 | | | | | | | | | | | | | |
Debt Conversion Total Issued And Outstanding Common Shares Percent | 60.00% | | | | | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ 0.10 | | | | | | | | | | | | | |
Proceeds from Sale of Available-for-sale Securities, Equity | $ 1,000,000 | | | | | | | | | | | | | |
Notes | Maximum [Member] | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Proceeds from Sale of Available-for-sale Securities, Equity | 2,000,000 | | | | | | | | | | | | | |
Notes | Minimum [Member] | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | |
Proceeds from Sale of Available-for-sale Securities, Equity | $ 1,000,000 | | | | | | | | | | | | | |