- fix cookieParser and session middleware params
- use default express logger for now
- add GET /contacts route to list all contacts
Implement new auth flow (use transitionTo to show login page instead of toggling between views). The old way did not work because the unauthenticated ajax requests to the server will fail, and the data will not be there after logging in.
small refactoring
Link the contact name in index to the contact page
- Hide necessary routes behind /api namespace
- Render isAuthenticated and _csrf variables to the window so the ember ApplicationController can start in the right state
absolute route for img tag src