Implemented LOG functionality for last_access_ip and last_access_date