fix login url problem