restores sessions redirect to root