Added admin page, moved user authentication to entry, and tweaked generator code