some bugs have been corrected on the login. connect and disconnect