add url pattern to correct login url