Added functionality to see image preview before uploading profile picture.