[Refactor] Socket Session Authentication