added angular-cookies
Saving auth header and logged in name in cookies.
Therefore added ngCookies dependency. Using values from cookies on app init.