Init user data after auth.
JSLint. Refactoring. Unit tests.
Changed ng-if to ng-show in filtered items lists.