logout after all work complete
wait to logout until stage_three