Updated error in my code profile controller