logging db
events controller add paging