fixed some errors from debian update
safer method for determining if user has web or not