Fixed login url issues