Getting user instance from ioc container