Users can now connect, register, login, and send messages. The server stores all users in a JSON file.