Implement MySQL database, users, and settings template.