method for changing image changed

added a new class to handle the user profile image
method added to create thumbnail of uploaded image
tmp image file is deleted after profile pic change
image change in UI on changing the image

codes added