configure login routing