Update User_model.php

Added add_log_from_test function. Adds data from graph page and creates new log entry.