retrieve contacts, added will paginate for pagination