Find a way to deal with static function. Subscribe/login working