web user a class for user authentication