Changed Error in Code after Devise