Set user from relay attributes.