New: invalidates the session after logout (prevents successful login by using cookie)