checking admin rights