Revert "Revert "Finished admin functionality.""

This reverts commit 1a48439c3964485d45c4ed9e4071868bc147da32.