def destroy
    @app = App.find(params[:id])
    if @app.destroy
      render 'application/success'
    else