Add submission checks and anon user key.

Fixes #185.