login response moved to receive data thread
replaced connection failed handler
Main fixed
added synced command queue