Redirect to referer after logout