added main structure with login and logout methods
added simple command line client that just logs in and out