made changes so that logs paginate to 50 records.