Update user.php

In add_data function it now creates data for new log entry and does so through add_log_from_test