database integration for personal metrics, CSRF protection, supporting schema modifications