First commit : test code for client-server login protocol