Add method to upload profile pic, encode search query for contacts,add
comments, and refactor methods