doc
check if user is admin