Getting user instance from the ioc