added apilog model