Replaced name-based index with uid

This also solves players getting logged out when someone log-ins using their name in a nice way, so we don't need that ugly AlreadyLoggedIn array anymore.