socket reconnect upon user logout