Admin page, recent matches

Also moved some DB behaviors to the global space for more efficient
queries.