APIcall('POST', $this->wrenchApiServer(). 'start',$in); if ( !isset($out) || !isset($out["status_message"]) || $out["status_message"] != "VALID_LINK_FOUND"){ return redirect()->to($out["user_server_name"]); } $in["owner_uid"] = $out["owner_uid"]; //we need this to load jobs $out["task"] = $this->APIcall('POST', $this->wrenchApiServer(). 'tasks',$in)["result_list"]; return view('promo', $out); } public function member(){ // echo 'Ameye Olusesan'; $out=[]; return view('member_home', $out); } }