updated index with better error detection for authorization and use of the new concussionjs-core library name