Secure Chat Server: Added code to test logins.