FileUpload is successfully implemented and,profile photo is updated in
database and also it is copying the path("/resources/img/profile-photo")
and updated the photo in the same page (profile page) by ajax call.