Added saving relogin info. Updated relogin method.