rewrite customer and update login url