Trying to render intermediate action to stop passing through logout url as referer