Client: separating login code from loop thread
Form creation and management tasks delegated to FormManager
client main form logout button works