preparing login paths