Added some functionalities for the contact application