fix logout controller