added login url configuration param
refactor