logout controller finished