improve thirdparty login function add check studio function