add script tag and connection event
add auth_user method when a user connects to the game page