update db, added protected/models/User.php and protected/controllers/UserController.php