Don't try to submit the form in the navbar.
Added notification when initially connecting to a socket.