fixed log out action