toggle ability for client side uplaods in application.rb