auth features
login and logout commands in client
minor tweak