New userid.js, redid checkUser()