Added check for admin