check the privileges of that user