Fixed admin check on header. Added simple auto-numbering.