Config and login
Change-Id: I81ffb9b8097620cb7870beaf1b1b315945eebec0
diff --git a/src/app/index.ts b/src/app/index.ts
index 5f02fe6..4e93275 100644
--- a/src/app/index.ts
+++ b/src/app/index.ts
@@ -1,18 +1,29 @@
 import {NgModule} from '@angular/core';
 import {BrowserModule} from '@angular/platform-browser';
+import {HttpModule}    from '@angular/http';
+import {FormsModule}   from '@angular/forms';
+import {CookieService} from 'angular2-cookie/services/cookies.service';
+
 import {routing, RootComponent} from './routes';
 
 import {HelloComponent} from './hello';
+import {LoginComponent} from './components/login/login.component';
+import {ProtectedDirective} from './directives/protected.directive';
 
 @NgModule({
   imports: [
     BrowserModule,
-    routing
+    FormsModule,
+    routing,
+    HttpModule
   ],
   declarations: [
     RootComponent,
-    HelloComponent
+    HelloComponent,
+    LoginComponent,
+    ProtectedDirective
   ],
+  providers: [CookieService],
   bootstrap: [RootComponent]
 })
 export class AppModule {}