Added checks for user.admin on the client