Changed logout response. might still need more changes.