Update database creation
Update templates
Update UserQuery class
Update app.php with log in controller