Finish logout flow