login urls refactoring