Modified actionLogout