forgot the removal of the middleware&the comment in application.rb