With the change to line 15, this redirect is invalid. It might be appropriate to reverse it (`/account/` redirecting to `/account/edit/` for example)