add logout js