public static function getSocialLoginObject($network,$options = array(), $logger = null) {
		// do some filters and checks for name
		$network = preg_replace('![^a-z0-9]!i','',$network);
		
		if ($network == '') {
			throw new \Exception('Social Login Network can not be empty');
		}
		
		$class = '\\Gelembjuk\\Auth\\SocialLogin\\'.ucfirst($network);
		
		if (!class_exists($class)) {
			throw new \Exception(sprintf('Integration with a class name %s not found',$class));
		}
		
		// create an object
		$object = new $class($options);

		// set logger (even if it is null then no problem)
		$object->setLogger($logger);
		
		return $object;
	}