Created new migration for user_agent column in accessLogs table. Placed save_log method in accessLog model. Refactored controllers to use save_log.