improved random password message format