fix redirect in regard to last ip before logout
undo approval is finished (i think)