format error

it can't compile
  [login: "/login"] => do_login!
  [logout: "/logout"] => do_logout!