client reloads login page on logout and closes the web socket connection
adds rough log out feature