Change all keysController methods to user mist ajax wrapper function