add basic management features, api key security, and make routes more efficient

Signed-off-by: Eric <erich@xaos-ia.com>