Add database structure and account management template