Changed redirect to root when user logs out.