adding type to user table