create types for the lightweight forms of user and workspace