added login paths to main template