Quarterly report pursuant to Section 13 or 15(d)

Debt (Details Narrative)

v3.8.0.1
Debt (Details Narrative)
1 Months Ended
Jan. 03, 2018
USD ($)
$ / shares
Jul. 28, 2017
USD ($)
$ / shares
shares
Jun. 30, 2014
USD ($)
Jan. 31, 2018
USD ($)
Integer
$ / shares
shares
Mar. 31, 2018
USD ($)
Dec. 31, 2017
USD ($)
Jan. 31, 2017
$ / shares
Apr. 04, 2016
USD ($)
Debt principal amount         $ 4,783,000 $ 3,105,000    
Warrant exercise price per share | $ / shares             $ 6.60  
North Stadium Investments, LLC [Member]                
Debt principal amount   $ 2,500,000            
Warrant to purchase shares of common stock | shares   55,000            
Warrant exercise price per share | $ / shares   $ 5.04            
Percentage of loan bear interest rate   10.00%            
Debt maturity date   Jul. 28, 2018            
Warrant term   5 years            
Fair value of warrants   $ 200,000            
Hercules Technology Capital, Inc. [Member] | Loan and Security Agreement [Member]                
Debt principal amount     $ 20,000,000          
Debt maturity date     Jan. 01, 2018          
L2 Capital Debt [Member]                
Debt principal amount       $ 840,000        
Debt purchase price       $ 750,000        
Warrant to purchase shares of common stock | shares       68,257        
Warrant exercise price per share | $ / shares       $ 3.31        
Percentage of loan bear interest rate       8.00%        
Percentage of default interest rate       18.00%        
Debt trading per share | $ / shares       $ 0.70        
Debt instrument trading days | Integer       20        
Debt instrument, description       (i) 0.70 multiplied by (ii) the lowest volume weighted average price, or VWAP, of the Company’s common stock during the 20-day trading period ending in the holder of the L2 note’s sole discretion on the last complete trading day prior to conversion, or, the conversion date        
Hercules Term Loan [Member]                
Debt principal amount $ 2,264,623       $ 605,000    
Hercules Term Loan [Member] | Closing Date [Member]                
Term loan fee amount         200,000      
Final payment fee for debt         1,700,000      
Hercules Term Loan [Member] | Riverside Merchant Partners, LLC [Member]                
Debt additional principal               $ 2,000,000
Hercules Term Loan [Member] | Senior Secured Convertible Promissory Notes One [Member]                
Debt principal amount 1,100,000              
Hercules Term Loan [Member] | Senior Secured Convertible Promissory Notes Two [Member]                
Debt principal amount $ 2,200,000              
Exchange Notes [Member]                
Percentage of loan bear interest rate 15.00%              
Debt trading per share | $ / shares $ 1.75              
Debt instrument, description (i) In no event may the Alternate Conversion Price be less than $1.75 per share and (ii) the Assignees shall not be entitled to receive more than 19.99% of the outstanding common stock. So long as these Exchange Notes remain outstanding or the Assignees hold any Conversion Shares, the Company is prohibited from entering into any financing transaction pursuant to which the Company sells its securities at a price lower than $1.75 per share.              
Debt maturity date Feb. 03, 2019              
Debt instrument conversion price | $ / shares $ 3.87              
Debt instrument trading percentage 70.00%              
Riverside Merchant Partners, LLC [Member]                
Debt principal amount         3,000,000      
Subordinated convertible promissory notes         3,000,000      
Riverside Merchant Partners, LLC [Member] | Hercules and Riverside Debt Assignment [Member]                
Debt principal amount               1,000,000
Debt additional principal               $ 2,000,000
Riverside Merchant Partners, LLC [Member] | Hercules Term Loan [Member]                
Debt principal amount         $ 3,000,000