removes comment, adds login() and _loadJSON in User
corrects requires and adds logging of all non-keepalive messages in client main