function to check if you are root