fixed error
now services are injected on login and ejected on logout