logs model table updated, a couple of fixes to user.php controller