Implemented pagination and search feature for phonebook