rename redirect in logout function