Auth service. But should use stateProvider instead. Will resolve this later.