Simplified code that needed auth using a route condition.
Fixed a crashing bug with next-up.