Same => put your login & preparation steps in the initialize section, put logout & close browser in the finish section and then iterate! That's it!
Sometimes you need to use some while or for loop (you can insert those statements by right clicking, add and so on).
Different => you just continue to navigate...
Maybe I misunderstand your question..
Hope it helps