login and node handling