Angular changes

Re-worked Session factory, removed ngCookies.