added method for login initial node socket.io hookup