small bug in socketioclient, fixed api login