added controller for image upload and updated profile view