This is an example I made for a member on the forums. This has a client and a server. First, build both the client and the server. Run the server once and the client a couple times. Click the register button in the bottom left corner of the client and make a username and password. If the username is already in the system, it won't allow you to create it and you'll have to choose a new one. After you make a few accounts, login in with them in the first frame. If you type something wrong or the account simply isn't in the database, it will tell you. After you log in, your username will show up in the list at the right of the server app. To kick out any logged in account, click their name and hit kick. The client will get a warning message that they have been kicked and after about a second, the app will exit out. The Rich Edit Object at the left of the screen records actions like registering, logging in and out, and being kicked. The array file, which is called Player Info, will be created and edited from wherever the server app is. This connects to localhost, but by changing the client to connect to the ip of the computer with the server app, this can be run on more than one computer. I didn't encrypt any of the data, but if anyone wanted to its very easy.