vRP Basicmenu function add help

Hey guys, i am trying to add a function to my vRP_basic_menu.

-- search identity by registration
local ch_search = {function(player,reg)
  vRP.prompt({player,"USER ID:","",function(player,reg) 
    vRP.getUserByRegistration(reg, function(user_id)
      if user_id ~= nil then
        vRP.getUserIdentity(user_id, function(identity)
          if identity then
            -- display identity and business
            local name = identity.name
            local firstname = identity.firstname
            local age = identity.age
            local phone = identity.phone
            local registration = identity.registration
            local home = ""
            local number = ""


              vRP.getUserAddress(user_id, function(address)
                if address then
                  home = address.home
                  number = address.number
                end

                local content = lang.police.identity.info({name,firstname,age,registration,phone,home,number})
                vRPclient.setDiv(player,{"police_pc",".div_police_pc{ background-color: rgba(0,0,0,0.75); color: white; font-family: 'Roboto', sans-serif; font-weight: bold; width: 500px; padding: 10px; margin: auto; margin-top: 150px; }",content})
              end)
          else
      TriggerClientEvent("pNotify:SendNotification", player,{
      text = "Personen blev ikke fundet, prøv venligst igen",
      type = "error",
      queue = "global",
      timeout = 6000,
      layout = "bottomCenter",
      animation = {open = "gta_effects_fade_in",
      close = "gta_effects_fade_out"},
      killer = true})
          end
        end)
      else
      TriggerClientEvent("pNotify:SendNotification", player,{
      text = "Personen blev ikke fundet, prøv venligst igen",
      type = "error",
      queue = "global",
      timeout = 6000,
      layout = "bottomCenter",
      animation = {open = "gta_effects_fade_in",
      close = "gta_effects_fade_out"},
      killer = true})
      end
    end)
end

What am i doing wrong here?

Thnx

Please share the answer for future reference, instead of asking us to delete the topic.