Settings refactored.
Auth refactoring - ngStorage used and others.