change in database.php and user_model.php