Adding logs for 404 and 403