Update LoginController.php

change data of lastvisit from date('Y-m-d H:i:s') to new CDbExpression('NOW()')