Try catch exception succfully added in user profile controller