WebSocket reconnect, login link

After the server connection drops, the client will attempt to reconnect up to 3 times. After a successful reconnection, the counter is reset. Also added is a link to log back in after a session error.