Add IsLoggedIn Support to js