function createExperience(form){
  formData = $(form).serialize();
  var request = $.ajax({
    method: 'post',
    url: '/experiences',
    data: formData
  })
  request.done(function(response){
    console.log("Response")
    console.log(response)
    $('#experience-box').fadeOut()
    function removeRegistrationBox() {
      $('#experience-box').remove()
    }
    setTimeout(removeRegistrationBox, 1000)
    $('#main-menu').find('#register').remove()
    $('#main-menu').find('#login').remove()
    $('#main-menu ul li:last').append("<a id='logout' href='#/logout'>Logout</a>");
  })
  request.fail(function(response) {
    console.log('nope')
    var $error = $("<p>").text("Title Required")
    $("#create-experience-submit").prepend($error)
  })
}

@@ -198,389 +198,22 @@
    c
-onsole.log(%22Response%22)%0A    console.log(response)%0A    $('#experience-box').fadeOut()%0A    function removeRegistrationBox() %7B%0A      $('#experience-box').remove()%0A    %7D%0A    setTimeout(removeRegistrationBox, 1000)%0A    $('#main-menu').find('#register').remove()%0A    $('#main-menu').find('#login').remove()%0A    $('#main-menu ul li:last').append(%22%3Ca id='logout' href='#/logout'%3ELogout%3C/a%3E%22
+learMainFrame(
 );%0A 

Refactor create form submission