Fully implement auth
Add database reset functionality.