Added json responses but not tested
clearData added
Removed back link in show.html.erb