added type to user table